package cn.mln521.ioc.demo1;

public class UserServiceImpl implements UserService {

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void sayHello() {
        System.out.println("Hello Spring " + name);
    }
}
